<?php $id       = sfInflector::underscore($title).rand(0, 99) ?> <?php // using rand() to avoid overlapping ?>
<?php $disabled = isset($disabled) ? $disabled : false ?>

<div 
  class="InactiveNavCellBorder <?php if ($disabled): ?>opacity<?php endif; ?>" 
  id="<?php echo $id ?>" 
  <?php if (!$disabled): ?>
    onMouseOver="NavCellMouseOver(this.id);" onMouseOut="NavCellMouseOut(this.id);"
  <?php endif; ?>
>
  <div class="InactiveNavCellContent" id="<?php echo $id ?>_content" onclick="<?php echo sprintf("go('%s')", url_for($uri)) ?>">
    <span id="<?php echo $id ?>_header" class="InactiveNavCellHeader">
      <b><?php echo $title ?></b>
    </span>
    <br/><br/>
    <?php echo $text ?>
  </div>
</div>
